import java.sql.SQLOutput;
import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 故我
 * Date: 2023-02-17
 * Time: 13:29
 */
public class Test {
    public static void main(String[] args) {
        // 根据输入的年龄, 来打印出当前年龄的人是少年(低于18), 青年(19-28), 中年(29-55), 老年(56以上)
        Scanner scanner = new Scanner(System.in);
        int year = scanner.nextInt();

        if(year<=18){
            System.out.println("少年");
        }else if(year>=19 && year<=28){
            System.out.println("青年");
        }else if(year >=29 && year<=55){
            System.out.println("中年");
        }else{
            System.out.println("老年");
        }
    }

    public static void main11(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        boolean  flag = true;
        for(int i=2;i<n;i++){
            if(n%i==0){
                flag = false;
                break;
            }
        }
        if(flag == true){
            System.out.println("是素数");
        }else{
            System.out.println("不是素数");
        }

    }
    public static void main10(String[] args) {
        //打印 1-100之间所有的素数
        for(int i =2;i<=100;i++){
            boolean flag = true;
            for (int j = 2; j < i; j++) {
                if(i%j==0) {
                    flag =false;
                    break;
                }
            }
            if(flag == true){
                System.out.printf("%d ",i);
            }

        }
    }

    public static void main9(String[] args) {
        for(int i=1000;i<=2000;i++){
            if((i%4==0 && i%100!=0) || i%400 ==0 ){
                System.out.printf("%d ",i);
            }
        }
    }

    public static void main8(String[] args) {
        int count=0;
        for (int i = 1; i <= 100 ; i++) {
            int j = i;
            while(j>0){
                int tmp = j % 10;
                if(tmp == 9){
                    count++;
                }
                j/=10;
            }
        }
        System.out.println(count);
    }

    public static void main7(String[] args) {
        // 编写程序数一下 1到 100 的所有整数中出现多少个数字9
        int count =0;
        for (int j = 1; j <= 10; j++) {
            int i =j;
            while(i>0){
                int tmp = i%10;
                if(tmp % 9 == 0){
                    count++;
                }
                i/=10;
            }
        }
        System.out.println(count);
    }

    public static void main6(String[] args) {
        double b =2.0;
        int a=4;
        b/=++a;
        System.out.println(b);

        //$a=100;
        //new a=100;

    }
    public static void main5(String[] args) {
        //System.out.println("\\\"hello world\\\"");
        short a =128;
        byte b = (byte)a;
        System.out.println(b);
    }
    public static void main4(String[] args) {
        // 求数的阶乘和 5!+4!+3!+2!+1！
        int j=1;
        int sum =0;
        while(j<=5){
            int i=1;
            int ret = 1;
            while(i<=j){
                ret*=i;
                i++;
            }
            sum+=ret;
            j++;
        }

        System.out.println(sum);
    }
    public static void main3(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String str = scanner.nextLine();
        System.out.println(str);
        int n =scanner.nextInt();
        if(n%2==0){
            System.out.println("偶数");
        }else{
            System.out.println("奇数");
        }
    }
    public static void main2(String[] args) {
        int num=100;
        String str=String.valueOf(num);//将整型转化为字符串
        System.out.println(str);
    }

    public static void main1(String[] args) {
        //java中的引用类型
        String str="hello";
        System.out.println(str);

        System.out.println("hello"+"world");
        System.out.println("hello"+10+20);//其他类型都会转化为引用类型

       /* boolean flag =true;// java中boolean类型只有true false
        System.out.println(flag);*/
    }
}
